[Top] [Prev] [Next] [Bottom] [Contents]

SgeDestroyCacheByName

Frees the memory used by a cache item.

Synopsis

#include "WorkingDialog.h"
void SgeDestroyCacheByName(char *server, 
				char* database, 
				char* sproc);

Arguments

server
The Server Name that with which the cache is associated.
database
The Database Name with which the cache is associated.
sproc
The Stored Procedure name with which the cache is associated.

Return Values

None.

Description

SgeDestroyCacheByName is a client routine which frees a cache given a server name, database name and Stored Procedure name known as a triplet. If the cache id was not NULL when created or the triplet doesn't match any cache, no action is taken.

Warning: Valid callback structures may point to a cache. DO NOT free a cache if any references to a cbs exist. This will cause major damage to your code.
Note: For Oracle users, the server name must be "Oracle" and the database name is your database name, alias, or connection string.

See Also



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.